﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DALPackageDetail
/// </summary>
public class DALPackageDetail  :BaseDAL
{
	public DALPackageDetail()
	{
	 //  db = new MailDistributionSystemDBDataContext();
	}

    public vPackageDetail getPackageDetail(int packageid)
    {
        return db.vPackageDetails.SingleOrDefault(c => c.ID == packageid);   
    }
}